package com.jinke.api.modules.app.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.jinke.api.modules.base.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 承运商平台
 * </p>
 *
 * @author macro
 * @since 2024-01-24
 */
@Getter
@Setter
@TableName("user_address")
@ApiModel(value = "UserAddress对象", description = "承运商平台")
public class UserAddress extends BaseEntity {

    @ApiModelProperty("用户ID")
    private Integer userId;

    @ApiModelProperty("国家代码")
    private String countryCode;

    @ApiModelProperty("州代码，对于美国和加拿大的寄件，大多数承运商只接受两字符的州缩写")
    private String stateCode;

    @ApiModelProperty("城市")
    private String city;

    private String addressLine1;

    private String addressLine2;

    @ApiModelProperty("邮政编码")
    private String zipCode;

    @ApiModelProperty("个人名称")
    private String personName;

    @ApiModelProperty("公司名称")
    private String company;

    @ApiModelProperty("地址所在的州或省的名称或代码")
    private String state;

    @ApiModelProperty("手机")
    private String phone;

    @ApiModelProperty(" 联系人或组织的电子邮件")
    private String email;

    @ApiModelProperty("地址是否已验证")
    private Boolean isValid;

    @ApiModelProperty("地址是否为居住地址")
    private Boolean isResidential;

    @ApiModelProperty("标题")
    private String title;


}
